home *** CD-ROM | disk | FTP | other *** search
- on(press){
- if(_root.spoints > 0)
- {
- if(_root.str < 5)
- {
- _root.str += 1;
- _root.str1 = "Strength: " + _root.str;
- _root.spoints -= 1;
- _root.mstats = "You currently have " + _root.spoints + " stats.";
- }
- else
- {
- _root.no = "Strength currently maxed!";
- }
- }
- else
- {
- _root.no = "You have no more points!";
- }
- }
-